﻿using System.Drawing;

namespace RealTimeCharts.LineChart
{
    /// <summary>
    /// 参考线
    /// </summary>
    public class ReferenceLine
    {
        public LineType type;
        public Color color;
        public double value;

        public ReferenceLine()
        {
            this.type = LineType.Dashed;
            this.color = Color.Red;
        }

        public ReferenceLine(double value) : this()
        {
            this.value = value;
        }

        public ReferenceLine(LineType type, Color color, double value)
        {
            this.type = type;
            this.color = color;
            this.value = value;
        }
    }
}
